package com.dkm.ec.so.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:产品评价 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:yuki
 * 创建时间:2015-03-09 10:49:45
 */
 @ITable(name="saleReview",code="skg_sale_review")
public class SaleReviewTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="prodId",column="prod_id_")
	protected String  prodId; 		/*产品 ID*/
	@IField(name="prodSkuId",column="prod_sku_id_")
	protected String  prodSkuId; 		/*产品 SKU ID*/
	@IField(name="prodSkuName",column="prod_sku_name_")
	protected String  prodSkuName; 		/*产品SKU名称*/
	@IField(name="type",column="type_")
	protected String  type; 		/*评论类型。review=普通评论（默认）；show=晒单。*/
	@IField(name="mainCloudPath",column="main_cloud_path_")
	protected String  mainCloudPath; 		/*产品主图*/
	@IField(name="soId",column="so_id_")
	protected String  soId; 		/*订单 ID*/
	@IField(name="soItemId",column="so_item_id_")
	protected String  soItemId; 		/*订单 ID*/
	@IField(name="attrNames",column="attr_names_")
	protected String  attrNames; 		/*属性名称串*/
	@IField(name="attrOpLabels",column="attr_op_labels_")
	protected String  attrOpLabels; 		/*属性选项标签串*/
	@IField(name="score",column="score_")
	protected Integer  score; 		/*评分。1~10 分，单数表示半星*/
	@IField(name="content",column="content_")
	protected String  content; 		/*评价内容*/
	@IField(name="status",column="status_")
	protected String  status; 		/*审核状态。awaiting=未审核；pass=已通过；no_pass=不通过。*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	
	@IField(name="usefulCount",column="useful_count_")
	protected Integer  usefulCount; 		/*有用投票数*/
	@IField(name="unuserCount",column="unuser_count_")
	protected Integer  unuserCount; 		/*无用投票数*/
	@IField(name="partyId",column="party_id_")
	protected String  partyId; 		/*参与者ID*/
	@IField(name="profile",column="profile_")
	protected String profile;
	@IField(name="partyName",column="party_name_")
	protected String partyName;
	
	
	public String getSoItemId() {
		return soItemId;
	}
	public void setSoItemId(String soItemId) {
		this.soItemId = soItemId;
	}
	public SaleReviewTbl() {
		usefulCount = 0;
		unuserCount = 0;
	}
	public Integer getUsefulCount() {
		return usefulCount;
	}
	public void setUsefulCount(Integer usefulCount) {
		this.usefulCount = usefulCount;
	}
	public Integer getUnuserCount() {
		return unuserCount;
	}
	public void setUnuserCount(Integer unuserCount) {
		this.unuserCount = unuserCount;
	}
	public String getPartyId() {
		return partyId;
	}
	public void setPartyId(String partyId) {
		this.partyId = partyId;
	}
	/****************zhongjinyou add end**************************************/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setProdId(String prodId) 
	{
		this.prodId = prodId;
	}
	/**
	 * 返回 产品 ID
	 * @return
	 */
	public String getProdId() 
	{
		return this.prodId;
	}
	public void setProdSkuId(String prodSkuId) 
	{
		this.prodSkuId = prodSkuId;
	}
	/**
	 * 返回 产品 SKU ID
	 * @return
	 */
	public String getProdSkuId() 
	{
		return this.prodSkuId;
	}
	public void setProdSkuName(String prodSkuName) 
	{
		this.prodSkuName = prodSkuName;
	}
	/**
	 * 返回 产品SKU名称
	 * @return
	 */
	public String getProdSkuName() 
	{
		return this.prodSkuName;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 评论类型。review=普通评论（默认）；show=晒单。
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setMainCloudPath(String mainCloudPath) 
	{
		this.mainCloudPath = mainCloudPath;
	}
	/**
	 * 返回 产品主图
	 * @return
	 */
	public String getMainCloudPath() 
	{
		return this.mainCloudPath;
	}
	public void setSoId(String soId) 
	{
		this.soId = soId;
	}
	/**
	 * 返回 订单 ID
	 * @return
	 */
	public String getSoId() 
	{
		return this.soId;
	}
	public void setAttrNames(String attrNames) 
	{
		this.attrNames = attrNames;
	}
	/**
	 * 返回 属性名称串
	 * @return
	 */
	public String getAttrNames() 
	{
		return this.attrNames;
	}
	public void setAttrOpLabels(String attrOpLabels) 
	{
		this.attrOpLabels = attrOpLabels;
	}
	/**
	 * 返回 属性选项标签串
	 * @return
	 */
	public String getAttrOpLabels() 
	{
		return this.attrOpLabels;
	}
	public void setScore(Integer score) 
	{
		this.score = score;
	}
	/**
	 * 返回 评分。1~10 分，单数表示半星
	 * @return
	 */
	public Integer getScore() 
	{
		return this.score;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}
	/**
	 * 返回 评价内容
	 * @return
	 */
	public String getContent() 
	{
		return this.content;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 审核状态。awaiting=未审核；pass=已通过；no_pass=不通过。
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	
	public String getProfile() {
		return profile;
	}
	public void setProfile(String profile) {
		this.profile = profile;
	}
	public String getPartyName() {
		return partyName;
	}
	public void setPartyName(String partyName) {
		this.partyName = partyName;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("prodId", this.prodId) 
		.append("prodSkuId", this.prodSkuId) 
		.append("prodSkuName", this.prodSkuName) 
		.append("type", this.type) 
		.append("mainCloudPath", this.mainCloudPath) 
		.append("soId", this.soId) 
		.append("attrNames", this.attrNames) 
		.append("attrOpLabels", this.attrOpLabels) 
		.append("score", this.score) 
		.append("content", this.content) 
		.append("usefulCount",this.usefulCount)
		.append("unuserCount",this.unuserCount)
		.append("status", this.status) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.toString();
	}
}